import Vue from 'vue'
import Router from 'vue-router'
import xgPlayer from '@/views/xgPlayer'
import Login from '@/views/login'
import Register from '@/views/register'
import index from '@/views/index'
import userCenter from '@/views/userCenter'
import mouse from '@/views/mouse'
import interest from '@/views/interest'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'index',
      component: index
    },
    {
      path: '/Login',
      name: 'Login',
      component: Login
    },
    {
      path: '/index',
      name: 'index',
      component: index
    },
    {
      path: '/xgPlayer',
      name: 'xgPlayer',
      component: xgPlayer
    },
    {
      path: '/userCenter',
      name: 'userCenter',
      component: userCenter
    },
    {
      path: '/mouse',
      name: 'mouse',
      component: mouse
    },
    {
      path: '/interest',
      name: 'interest',
      component: interest
    },
    {
      path: '/Register',
      name: 'Register',
      component: Register
    },
  ]
})
